<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:p="http://primefaces.org/ui"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:c="http://java.sun.com/jsp/jstl/core">
    <ui:composition template="/template_login.xhtml">
        <ui:define name="body">
            <div class="container">

                <form class="form-signin" method="post" action="j_security_check" >
                    <h3 class="form-signin-heading">Por favor, identifique-se:</h3>
                    <input type="text" placeholder="Login" class="form-control" name="j_username" id="j_username" />

                    <input type="password" class="form-control" placeholder="Password" name="j_password" id="j_password"  />
                    <button class="btn btn-lg btn-primary btn-block" type="submit" id="comandLogin">Entrar</button>
                </form>

            </div> <!-- /container -->
            <script type="text/javascript">
                document.getElementById('j_username').focus();
            </script>
        </ui:define>
    </ui:composition>
</html>